# frozen_string_literal: true
class CreateIdcards < ActiveRecord::Migration[5.0]
  def change
    create_table :idcards do |t|
      t.string :name
      t.string :gender
      t.string :nation
      t.string :photo
      t.date :birthday
      t.string :address
      t.string :code
      t.date :expired_at

      t.timestamps
    end
  end
end
